<template>
  <div>
    <el-form :inline="true" :model="formInline" class="demo-form-inline">
      <el-row class="message">
        <p>基本信息</p>
      </el-row>
      <el-row>
        <el-col :span="10">
          <el-form-item label="权限编号">
            <el-input
              v-model="formInline.user"
              placeholder="请输入权限编号"
            ></el-input>
          </el-form-item>
        </el-col>
        <el-form-item label="权限名称">
          <el-input
            v-model="formInline.user"
            placeholder="请输入权限名称"
          ></el-input>
        </el-form-item>
      </el-row>
      <el-row>
        <el-col :span="10">
          <el-form-item label="上级权限">
            <el-select v-model="formInline.region" placeholder="根目录">
              <el-option label="根目录" value="根目录"></el-option>
              <el-option label="系统目录" value="系统目录"></el-option>
            </el-select>
          </el-form-item>
        </el-col>
        <el-form-item label="权限URL">
          <el-input
            v-model="formInline.user"
            placeholder="请输入权限URL"
          ></el-input>
        </el-form-item>
      </el-row>
      <el-row class="message">
        <p>备注信息</p>
      </el-row>
      <el-row>
        <el-form-item label="备注">
          <el-input type="textarea" v-model="formInline.user"></el-input>
        </el-form-item>
      </el-row>
      <el-button type="success" @click="onSubmit">保存权限信息</el-button>
    </el-form>
  </div>
</template>
<script>
export default {
  data() {
    return {
      formInline: [],
    };
  },
};
</script>
<style lang="less" scoped>
.message {
  background-color: #d9edf7;
  height: 35px;
  line-height: 35px;
  text-indent: 10px;
  color: #5a9aba;
}
</style>